﻿using System;

namespace NodeJS.fs
{
    using NodeJS.stream;
    public class WriteStream : Writable
    {
        /// <summary>
        /// Emitted when the WriteStream's file is opened.
        /// fd Integer file descriptor used by the WriteStream.
        /// </summary>
        [EvalAtCompile(Value = "open")]
        public const NodeEvent<int> OPEN = null;

        /// <summary>
        /// The number of bytes written so far. Does not include data that is still queued for writing.
        /// </summary>
        public readonly long BytesWritten;
    }
}
